home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
comm
/
ums
/
IntuiNews1_4a.lha
/
UMS
/
Rexx
/
Script.intui
< prev
next >
Wrap
Text File
|
1996-06-06
|
851b
|
50 lines
/*
$VER: Script.intui 1.0 (6.6.96)
Author:
Matthias Scheler <tron@lyssa.owl.de>
Function:
Start ARexx script from IntuiNews via FileRequester
History:
0.1 initial version
1.0 release version
Example for "ums.config":
( IntuiNews.Rexx
...
"#? F10 Script.intui Rexx:\n"
...
)
*/
PARSE ARG Drawer
/* get public screen name */
OPTIONS RESULTS
'INFO SCREEN'
ScreenName=RESULT
/* Ask for file */
TempFile='T:IN.script'
SHELL COMMAND 'RequestFile' Drawer 'PATTERN #?.intui TITLE "Select ARexx Script" PUBSCREEN' ScreenName '>'||TempFile
/* Get filename */
IF OPEN('FileName',TempFile,'READ')=0 THEN EXIT 5
Path=READLN('FileName')
CLOSE('FileName')
SHELL COMMAND 'Delete' TempFile 'QUIET'
/* Start Script!
If no script was selected Path is empty so that nothing happens. */
"'"Path"'"